package net.bhzyxy.lizongwei;

import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.AppCompatTextView;

import android.content.Intent;
import android.os.Bundle;

public class MainActivity extends AppCompatActivity {

    private AppCompatTextView dengluTextView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        dengluTextView=findViewById(R.id.dengluTextView);
        //1


        dengluTextView.setOnClickListener(view -> {
            startActivity(new Intent(MainActivity.this,MainActivity1.class));
        });




    }
}